package cn.lili.modules.payment.entity.dos;

import cn.lili.mybatis.model.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@TableName("li_withdraw_log")
@ApiModel(value = "预约提现记录")
@NoArgsConstructor
public class WithdrawLog extends BaseEntity {

    @ApiModelProperty(value = "二级商户号")
    private String subMchid;

    @ApiModelProperty(value = "商户预约提现单号")
    private String outRequestNo;

    @ApiModelProperty(value = "提现金额")
    private Double amount;

    @ApiModelProperty(value = "微信支付预约提现单号")
    private String withdrawId;

    /**
     * 枚举值：
     * CREATE_SUCCESS：受理成功
     * SUCCESS：提现成功
     * FAIL：提现失败
     * REFUND：提现退票
     * CLOSE：关单
     * INIT：业务单已创建
     */
    @ApiModelProperty(value = "预约提现单状态")
    private String status;
}
